﻿using System;

using Scheduler;

using EventArgs = Scheduler.EventArgs;

namespace UnitTesting.Middlewares
{
    /// <summary>
  /// AOI通讯单元
  /// </summary>
    internal class RightAoiMiddleware : Middleware
    {
        public override bool Filter(Context ctx, EventArgs args)
        {
            return true;
        }

        protected override void DoHandleEvent(Context ctx, EventArgs args)
        {
            Console.WriteLine("RightAoiMiddleware");
            System.Threading.Thread.Sleep(1000);
        }
    }
}